package com.amayadream.webchat.service;

import java.util.List;

import com.amayadream.webchat.pojo.ChatRecord;

public interface IChatRecordService {
    List<ChatRecord> selectByFromid(String fromid,int page,int pageSize);
    List<ChatRecord> selectByToid(String toid,int page, int pageSize);
    boolean insert(ChatRecord chatrecord);
    int selectCountByFromid(String fromid,int pageSize);
    int selectCountByToid(String toid,int pageSize);
}
